Exit r i

You need to take all people to the other side of the river using a raft. However, there are limitations:

rule #1

Only adults (with an obvious exception of the prisoner) can steer the raft:

womanmancop

rule #2

You cannot leave anyone with the prisoner unless the policeman stays by:

womanprisoner

The prisoner may be left on its own, though.

rule #3

Girls are afraid of the stranger man and can't be left with him unless their mother is close by. Similairly, boys can't be left in presence of the woman without their father.

mangirl
womanboy

The kids may be left with each other, alone on the shore and they trust the policeman.

next rule